package com.example.service.statistics.impl;

import com.example.dao.statistics.StatisticalAnalysisCPDao;
import com.example.pojo.StatisticalAnalysisCP;
import com.example.service.statistics.StatisticalAnalysisCPService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

//统计图汇总--课程和商品的折线统计图
@Service
public class StatisticalAnalysisCPServiceImpl implements StatisticalAnalysisCPService {
    @Autowired
    private StatisticalAnalysisCPDao sacpDao;

    @Override
    public List<StatisticalAnalysisCP> getAllEcharts() {
        return sacpDao.getAllEcharts();
    }
}
